package com.ltu.enums;

public class SysDict {
	/**
	 * 前缀
	 */
	public static final String PREFIX = "BroadcastLive";
	
	public enum FileDirectoryEnum{
		Avatar((byte) 1,"Avatar"),
		;
		private Byte index;
		private String value;
		FileDirectoryEnum(Byte index,  String value) {
			this.index = index;
			this.value = value;
		}
		public Byte getIndex() {
			return index;
		}
		
		public String getValue() {
			return value;
		}
	}
	
	


	//-1待确认后租客才能看到账单，0待缴1已缴3其他;不传则查全部状态
	
	public enum PayStatusEnum{
		Status01(-1,"未确认"),
		Status0(0,"待支付"),
		Status1(1,"已支付"),
		Status2(2,"状态2"),
		Status3(3,"其他"),
		;
		private Integer index;
		private String value;
		PayStatusEnum(Integer index,  String value) {
			this.index = index;
			this.value = value;
		}
		public Integer getIndex() {
			return index;
		}

		public String getValue() {
			return value;
		}
	}
	
	public enum PayTypeEnum{
		Type0(0,"线下支付"),
		Type1(1,"微信支付"),
		;
		private Integer index;
		private String value;
		PayTypeEnum(Integer index,  String value) {
			this.index = index;
			this.value = value;
		}
		public Integer getIndex() {
			return index;
		}
		
		public String getValue() {
			return value;
		}
	}
	
	public enum QueryDayEnum{
		//时间查询区间：0无时间范围，1=今天2=7天内3=30天内4=180天内
		
		QueryDayEnum1(1,0),
		QueryDayEnum2(2,-7),
		QueryDayEnum3(3,-30),
		QueryDayEnum4(4,-180),
		;
		private Integer index;
		private Integer value;
		QueryDayEnum(Integer index,  Integer value) {
			this.index = index;
			this.value = value;
		}
		public Integer getIndex() {
			return index;
		}
		
		public Integer getValue() {
			return value;
		}
	}
	

	 public enum ThirdPartyDict{
		 IPPBX("58.250.103.13",(byte) 1,"ippbxRestServiceImpl","https://58.250.103.13:8443"),
		
		 ;
		 private String name;
		 private Byte index;
		 private String value;
		 private String pact;
		 
		 private ThirdPartyDict(String name,Byte index,String value,String pact){
			 this.name=name;
			 this.index=index;
			 this.value=value;
			 this.pact=pact;
		 }
		 public String getName(){return this.name;}
		 public Byte getIndex(){return this.index;}
		 public String getValue(){return this.value;}
		 public String getPact(){return this.pact;}
		 
	 }
	
	 public enum SessionRole{
		 Client("user",(byte) 1,"客户"),
		 ChatAI("assistant",(byte) 2,"AI模型的角色"),
		 SystemAI("system",(byte) 3,"系统角色"),
		 AD("ad",(byte) 4,"广告推送"),
		 ;
		 private String name;
		 private Byte index;
		 private String value;
		 
		 private SessionRole(String name,Byte index,String value){
			 this.name=name;
			 this.index=index;
			 this.value=value;
		 }
		 
		 public String getName(){return this.name;}
		 public Byte getIndex(){return this.index;}
		 public String getValue(){return this.value;}
		 
	 }
	
}
